<?
include_once "gblinclude.lib";
include_once "objinfo.lib";

$pathes = $_GET["pathes"];

$res = array();

$pathArr = explode(";", $pathes);
foreach($pathArr as $path)
{
	$tmpArr = explode("/", $path);
	$res[] = array($path, $tmpArr[count($tmpArr)-1]);
}

echo json_encode($res);
?>

